﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZhonTai.Industry.Core.Enums;

namespace ZhonTai.Industry.Services.RouteDetail.Dto.Output
{
    public class RouteDetailGetOutput
    {
        /// <summary>
        /// Id
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 配方ID
        /// </summary>
        /// <remarks>配方ID</remarks>
        public long ProductRouteId { get; set; }

        /// <summary>
        /// 工站ID
        /// </summary>
        /// <remarks>工站ID</remarks>
        public long StationId { get; set; }

        /// <summary>
        /// 工站代号
        /// </summary>
        public string StationCode { get; set; }

        /// <summary>
        /// 工站名称
        /// </summary>
        public string StationName { get; set; }

        /// <summary>
        /// 工站作用
        /// </summary>
        /// <remarks>工站作用</remarks>
        public StationRoleEnum StationRole { get; set; }

        /// <summary>
        /// 是否验证前道工序
        /// </summary>
        /// <remarks>是否验证前道工序</remarks>

        public bool IsVerifyLast { get; set; }
        /// <summary>
        /// 本工位重复性验证
        /// </summary>
        /// <remarks>本工位重复性验证</remarks>

        public bool IsVerifySelf { get; set; }

        /// <summary>
        /// 重复性验证次数
        /// </summary>
        /// <remarks>重复性验证次数</remarks>
        public int VerifyCount { get; set; }

        /// <summary>
        /// 验证规则
        /// </summary>
        /// <remarks>验证规则{示例：[工站1Id,工站2Id,...]}</remarks>
        public string VerifyRule { get; set; }

        /// <summary>
        /// 理论节拍
        /// </summary>
        /// <remarks>理论节拍</remarks>
        public int TheoreticalBeat { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        /// <remarks>状态</remarks>
        public bool Enabled { get; set; }
    }
}